package com.yz.group1.group_1.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yz.group1.group_1.entity.User;
import com.yz.group1.group_1.mapper.UserMapper;
import com.yz.group1.group_1.service.UserService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl
        extends ServiceImpl<UserMapper, User>
        implements UserService {
    @Override
    public List<User> listAllUsers() {
        return baseMapper.selectList(null);
    }
}
